<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChangeLog.ascx.cs" Inherits="SubversionReports.Web.Controls.ChangeLog" %>

<%@ Register TagPrefix="uc" TagName="TagChangeLog" Src="~/Controls/TagChangeLog.ascx" %>

<asp:Table runat="server">
    <asp:TableRow>
        <asp:TableHeaderCell Text="Path:" HorizontalAlign="Left" />
        <asp:TableCell>
            <asp:DropDownList runat="server" ID="TagPathDropDownList" AutoPostBack="true" OnSelectedIndexChanged="TagPathDropDownList_SelectedIndexChanged" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableHeaderCell Text="From:" HorizontalAlign="Left" />
        <asp:TableCell>
            <asp:DropDownList runat="server" ID="EndRevisionDropDownList" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableHeaderCell Text="To:" HorizontalAlign="Left" />
        <asp:TableCell>
            <asp:DropDownList runat="server" ID="StartRevisionDropDownList" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell ColumnSpan="2" HorizontalAlign="Right">
            <asp:Button runat="server" ID="GoButton" Text="Go" OnClick="GoButton_Click" />
        </asp:TableCell>
    </asp:TableRow>
</asp:Table>





<h2><asp:Label runat="server" ID="HeaderLabel" /></h2>
<p><asp:Label runat="server" ID="RangeLabel" /></p>
<asp:Repeater runat="server" ID="TagRepeater">
    <HeaderTemplate><ul></HeaderTemplate>
    <ItemTemplate>
        <li><uc:TagChangeLog runat="server" Tag='<%# Container.DataItem %>' /></li>
    </ItemTemplate>
    <FooterTemplate></ul></FooterTemplate>
</asp:Repeater>